/**
 * 
 */
package syncon;

import java.io.IOException;

import com.google.gdata.util.ServiceException;

import syncon.Syncon.*;

/**
 * Starts the Syncon Session
 * 
 * @author sougata.khan
 * 
 */
public class Main {

	public static void main(String args[]) throws IOException, ServiceException {
		if (args.length < 2) {
			SynconError.INVALID_ARGUMENTS.errorExit();
		}
		new SynconSession(args[0], args[1], SynconService.getService(args[2]));
	}

}
